|
Server : LiteSpeed System : Linux host 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64 User : idnco5810 ( 1093) PHP Version : 8.2.29 Disable Function : NONE Directory : /proc/thread-self/root/usr/share/apport/symptoms/ |
Upload File : |
# ubuntu-release-upgrader related problems
# Author: Brian Murray <brian.murray@canonical.com>
# (C) 2020 Canonical Ltd.
# License: GPL v3 or later.
import os
def run(report, ui):
if not os.path.exists('/var/log/installer'):
return
with os.scandir('/var/log/installer') as entries:
for entry in entries:
if entry.name.startswith('subiquity'):
return 'subiquity'
elif entry.name == 'telemetry':
return 'ubiquity'
# d-i leaves a few unique things including
# lsb-release, hardware-summary, status
elif entry.name == 'status':
return 'debian-installer'